-
Home
-
Image Optimizer – Optimize Images and Convert to WebP or AVIF
-
1.5.2
-
Code
-
Classes
- Image
Total Complexity |
19 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
177 |
Lines of code |
74 |
Logical lines of code |
34 |
Comment lines |
61 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_file_path() |
S |
59 |
3 |
15 |
__construct() |
S |
64 |
3 |
10 |
update_attachment() |
S |
61 |
2 |
13 |
get_url() |
S |
68 |
2 |
7 |
get_id() |
S |
82 |
1 |
3 |
is_optimized() |
S |
75 |
1 |
4 |
can_be_restored() |
S |
75 |
1 |
4 |
get_mime_type() |
S |
82 |
1 |
3 |
get_attachment_object() |
S |
82 |
1 |
3 |
get_supported_mime_types() |
S |
80 |
1 |
3 |
get_supported_formats() |
S |
80 |
1 |
3 |
get_mime_types_cannot_be_optimized() |
S |
80 |
1 |
3 |
get_formats_cannot_be_optimized() |
S |
80 |
1 |
3 |